package com.foreveross.law.workflow.domain;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
 * 
 * @author CZM
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Route")
@XmlType(propOrder = {}) 
public class Route {
	
    private String TargetName;
    private String OrderNum;
    private boolean Defaulted;
    @XmlAttribute(name="TargetAlias")
	private String targetAlias;
    private boolean Single;
    private RouteOrg RouteOrg;
    private DefaultUser DefaultUser;
    
    @XmlElement(name = "User")
  	private List<RouteUser> user;
	public String getTargetAlias() {
		return targetAlias;
	}

	public void setTargetAlias(String targetAlias) {
		this.targetAlias = targetAlias;
	}

	public List<RouteUser> getUser() {
		return user;
	}

	public void setUser(List<RouteUser> user) {
		this.user = user;
	}

	public String getTargetName() {
		return TargetName;
	}

	public void setTargetName(String targetName) {
		TargetName = targetName;
	}

	public String getOrderNum() {
		return OrderNum;
	}

	public void setOrderNum(String orderNum) {
		OrderNum = orderNum;
	}

	public boolean isDefaulted() {
		return Defaulted;
	}

	public void setDefaulted(boolean defaulted) {
		Defaulted = defaulted;
	}

	public boolean isSingle() {
		return Single;
	}

	public void setSingle(boolean single) {
		Single = single;
	}

	public RouteOrg getRouteOrg() {
		return RouteOrg;
	}

	public void setRouteOrg(RouteOrg routeOrg) {
		RouteOrg = routeOrg;
	}

	public DefaultUser getDefaultUser() {
		return DefaultUser;
	}

	public void setDefaultUser(DefaultUser defaultUser) {
		DefaultUser = defaultUser;
	}
	
	

}
